package cc.rengu.redp.bizimpl.constant;
/**
 * UPMP系统常量
 */
public class UpmpConstant {


    //系统名称
    public static final String SYSTEM_NAME = "upmp";
    // user缓存前缀
    public static final String USER_CACHE_PREFIX = SYSTEM_NAME + ".cache.user.";
    // user角色缓存前缀
    public static final String USER_ROLE_CACHE_PREFIX = SYSTEM_NAME + ".cache.user.role.";
    // user权限缓存前缀
    public static final String USER_PERMISSION_CACHE_PREFIX = SYSTEM_NAME + ".cache.user.permission.";
    // user个性化配置前缀
    public static final String USER_CONFIG_CACHE_PREFIX = SYSTEM_NAME + ".cache.user.config.";
    // token缓存前缀
    public static final String TOKEN_CACHE_PREFIX = SYSTEM_NAME + ".cache.token.";
    // token更新限流前缀
    public static final String TOKEN_CACHE_LIMIT_PREFIX = SYSTEM_NAME + ".cache.token.limit.";
    // 存储在线用户的zset前缀
    public static final String ACTIVE_USERS_ZSET_PREFIX = SYSTEM_NAME + ".user.active";
    // hawk监控模块的zset前缀
    public static final String HAWK_REALTIME_ZSET_PREFIX = SYSTEM_NAME + ".hawk.realtime.";
    // hawk监控配置缓存前缀
    public static final String HAWK_CONFIG_PREFIX = SYSTEM_NAME + ".hawk.config.cache.";
    // 数据字字典前缀
    public static final String DICTIONARY_PREFIX = SYSTEM_NAME + ".dict.data.";
    // 登陆验证码前缀
    public static final String LOGIN_CAPTCHA_PREFIX = SYSTEM_NAME + ".login.captcha.";
    // 登陆密码加密公私钥对前缀
    public static final String LOGIN_KEY_PAIR_PREFIX = SYSTEM_NAME + ".login.keypair.";
    // 登陆密码加密公钥前缀
    public static final String LOGIN_PUBLIC_KEY_PREFIX = SYSTEM_NAME + ".login.publickey.";
    // 登陆密码加解密公私钥对Map中公钥key
    public static final String KEY_PAIR_MAP_PUBLIC_KEY = "0";
    // 登陆密码加解密公私钥对Map中私钥key
    public static final String KEY_PAIR_MAP_PRIVATE_KEY = "1";
    // userToken缓存前缀
    public static final String USER_TOKENS = SYSTEM_NAME + ".cache.token.";

    // 排序规则： descend 降序
    public static final String ORDER_DESC = "descend";
    // 排序规则： ascend 升序
    public static final String ORDER_ASC = "ascend";

    // 按钮
    public static final String TYPE_BUTTON = "1";
    // 菜单
    public static final String TYPE_MENU = "0";
    /** 顶级菜单parentid **/
    public static final String TOP_MENU_PARENT_ID = "0";


    /** IGAS默认法人机构号 临时*/
    public final static String IGAS_DEFAULT_INST_ID = "600";

    /*** IGAS默认版本号 */
    public final static String VER_NO = "1.0";

    /*** 服务代码 */
    public final static String SVC_CD = "30042000014";

    /*** 服务场景代码 */
    public final static String SVC_SCN = "14";

    /*** 渠道类型 */
    public final static String CHNL_TP = "020401";

    /*** 调用方系统Id */
    public final static String CNSM_SYS_ID = "0204";

    /*** 源发起系统Id */
    public final static String SRC_SYS_ID = "0204";

    /*** 默认文件标志 0-无文件*/
    public final static String FILE_FLG_DEFAULT = "0";

    /*** 柜员号 */
    public final static String TLR_NO = "IF1";

    /*** 机构Id */
    public final static String BR_ID = "911240028";

    /*** IGAS源系统ID */
    public final static String BSN_CL = "00";

    /*** IGAS源系统ID */
    public final static String BR_FLG = "800";

    /*** IGAS应答成功标识--8个0 */
    public final static String IGAS_SUCCESS_EIGHT_ZERO = "00000000";
    /*** IGAS应答成功标识--6个0 */
    public final static String IGAS_SUCCESS_SIX_ZERO = "000000";

    public static final String SYS_INST_PARAM = "SYS_INST_PARAM";

    public static final String UPMP_URL_INSTID_PARAM = "UPMP_URL_INSTID";

    public static final String SYS_CONFIGPROPERTY_PARAM = "SYS_CONFIGPROPERTY";

    /** 系统默认审核层级 **/
    public static final String DEFAULT_MAX_CHECK_LEVEL = "1";

    /** 参数配置：审核层级 **/
    public static final String MAX_CHECK_LEVEL = "MAX_CHECK_LEVEL";

    /*** 参数配置：默认法人行 在参数表的记录ID */
    public static final String DEAFULT_INST_PARAM_ID = "600";

    /*** 参数配置：默认法人行 默认法人行支持的角色级别 */
    public static final String SYS_DEFAULT_INST_SURPORT_ROLES_PARAM = "SYS_DEFAULT_INST_SURPORT_ROLES";

    /*** 参数配置： 系统超级管理员的角色级别 操作类型支持标识*/
    public static final String SYS_INST_SURPORT_ROLES_OPR_SURPORT_FLAG_PARAM = "opr_surport_flag";

    /*** 参数配置：默认法人行 其他法人行支持的角色级别 */
    public static final String SYS_INST_SURPORT_ROLES_PARAM = "SYS_INST_SURPORT_ROLES";

    /*** 参数值 系统超级管理员的角色级别 */
    public static final String SYS_ROLE_SUPER_USER_ROLE_PARAM = "ROLE_SUPER_USER";



}
